package com.conph.student.config;


import com.conph.moring.core.annotation.Bean;
import com.conph.moring.core.annotation.Component;
import com.conph.video.dao.VideoDao;
import com.conph.video.model.VideoModel;

@Component
public class UserConfig {
	
	public UserConfig() {
	}
	
	@Bean
	public VideoModel getVideoModel() {
		return new VideoModel();
	}
	
	@Bean
	public VideoDao getVideoDao(VideoModel video) {
		return new VideoDao(video);
	}
	
}
